package com.flyqiu.flow.core.handler;

import com.flyqiu.flow.bpmn.element.StartEvent;
import com.flyqiu.flow.common.std.ActivityHandlerResult;
import com.flyqiu.flow.model.entity.ru.ProcRuActivity;
import com.flyqiu.flow.model.entity.ru.ProcRuInst;

public class StartEventHandler extends BaseProcActElementHandler<StartEvent, ProcRuActivity> {

    /**
     * @param currentProcInst
     * @param ruActivity
     */
    @Override
    protected ActivityHandlerResult<ProcRuActivity> startElementInst(ProcRuInst currentProcInst, ProcRuActivity ruActivity) {
        ActivityHandlerResult<ProcRuActivity> result = new ActivityHandlerResult<>("");
        result.setAutoNext(true);
        return result;
    }
}
